From 081e127377b75cf8c27d92237d1bb971f80f8623 Mon Sep 17 00:00:00 2001 From: Carlos Garnacho Date: Fri, 7 May 2021 15:51:52 +0200 Subject: [PATCH] gdk/x11: Ensure to map the non-ewmh moveresize emulation window before use Otherwise, we don't deem it as able to be grabbed, which we intend to do immediately after. --- gdk/x11/gdksurface-x11.c | 1 + 1 file changed, 1 insertion(+) diff --git a/gdk/x11/gdksurface-x11.c b/gdk/x11/gdksurface-x11.c index fd5dabeaa1..6fb6c96616 100644 --- a/gdk/x11/gdksurface-x11.c +++ b/gdk/x11/gdksurface-x11.c @@ -4376,6 +4376,7 @@ create_moveresize_surface (MoveResizeData *mv_resize, NULL, -100, -100, 1, 1); + gdk_surface_set_is_mapped (mv_resize->moveresize_emulation_surface, TRUE); gdk_x11_surface_show (mv_resize->moveresize_emulation_surface, FALSE); status = gdk_seat_grab (gdk_device_get_seat (mv_resize->device), -- 2.30.2